module.exports = {
  lintOnSave: false,
  css: {
    loaderOptions: {
      less: {
        modifyVars: {
          'primary-color': '#1bcbb4'
        },
        javascriptEnabled: true,
      },
    },
  },
  configureWebpack: {
    resolve: {
      alias: {
        'assets': '@/assets',
        'components': '@/components',
        'views': '@/views'
      }
    }
  },
  devServer: {
    proxy: {
      '/api': {
        // target: 'http://10.10.3.193:8088',
        // target: 'http://qbwd2hg6.dongtaiyuming.net',
        target: 'http://zqyvuur6.dongtaiyuming.net',
        changeOrigin: true,
        pathRewrite: {
          '/api': ''
        }
      }
    }
  }
}
